package com.sdb.docter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sdb.common.annotation.Excel;
import com.sdb.common.core.domain.BaseEntity;

/**
 * 医生管理对象 docter
 * 
 * @author yyh
 * @date 2024-11-19
 */
public class Docter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医生id */
    private Long dcId;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String dcName;

    /** 医生年龄 */
    @Excel(name = "医生年龄")
    private Long dcAge;

    /** 科室id */
    private Long dtId;

    /** 医生电话 */
    @Excel(name = "医生电话")
    private String dcPhone;

    /** 医生类型（住院医生，门诊医生） */
    @Excel(name = "医生类型", readConverterExp = "住=院医生，门诊医生")
    private String dcType;

    public void setDcId(Long dcId) 
    {
        this.dcId = dcId;
    }

    public Long getDcId() 
    {
        return dcId;
    }
    public void setDcName(String dcName) 
    {
        this.dcName = dcName;
    }

    public String getDcName() 
    {
        return dcName;
    }
    public void setDcAge(Long dcAge) 
    {
        this.dcAge = dcAge;
    }

    public Long getDcAge() 
    {
        return dcAge;
    }
    public void setDtId(Long dtId) 
    {
        this.dtId = dtId;
    }

    public Long getDtId() 
    {
        return dtId;
    }
    public void setDcPhone(String dcPhone) 
    {
        this.dcPhone = dcPhone;
    }

    public String getDcPhone() 
    {
        return dcPhone;
    }
    public void setDcType(String dcType) 
    {
        this.dcType = dcType;
    }

    public String getDcType() 
    {
        return dcType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dcId", getDcId())
            .append("dcName", getDcName())
            .append("dcAge", getDcAge())
            .append("dtId", getDtId())
            .append("dcPhone", getDcPhone())
            .append("dcType", getDcType())
            .toString();
    }
}
